<form id="testMessage" method="post" action="${rc.getContextPath()}/manage/message/sendMessage" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
    <div class="pageContent">
        <div class="pageFormContent" layoutH="56">
            <input type="hidden" name="navTabId" value="${navTabId!''}">
            <fieldset>
                <p>
                <label style="width:130px"><@label key="messageCode.C,colon">消息编码</@label></label>
                <input name="messageCode"  size="32" type="text" maxlength="100" value="<#if (message.messageCode)??>${message.messageCode!''}</#if>" readonly="readonly" class="required"/>
                </p>
                 <p>
                <label style="width:130px"><@label key="paramrters.C,colon">参数(以英文逗号分隔)</@label></label>
                <input name="paramrters"  size="32" type="text" maxlength="100" />
                </p>
            </fieldset>
        </div>
        <div class="formBar">
            <ul>
            <li>
                <div id="btn" class="buttonActive">
                        <div class="buttonContent">
                            <button id="s" type="submit"><@label key="send.B">发送</@label></button>
                        </div>
                    </div>
            </li>
            </ul>
        </div>
</form>

<script type="text/javascript">
$(function() {
    $("#testMessage").submit(function() {
        
         $("#btn").attr("class","buttonDisabled"); 
         $("#s").html("<@label key="sending.C">发送中..</@label>");
        
    });
});

</script>
